package com.airoc.demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "通用操作结果")
public class GenericResultDTO {
  
  @ApiModelProperty(value = "操作结果")
  boolean success;
  
  @ApiModelProperty(value = "操作信息")
  String message;

  public GenericResultDTO(boolean success, String message) {
    super();
    this.success = success;
    this.message = message;
  }

  public boolean isSuccess() {
    return success;
  }

  public void setSuccess(boolean success) {
    this.success = success;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

}
